package com.project.dubbo.springboot.api.bo;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

	private static final long serialVersionUID = -2399285684554823961L;
	
	private Integer id;
	
	private String userName;
	
	private String passWord;
	
	private String email;
	
	private String nickName;

	@Override
	public String toString() {
		return "{\"id\":\"" + id + "\", \"userName\":\"" + userName + "\", \"passWord\":\"" + passWord
				+ "\", \"email\":\"" + email + "\", \"nickName\":\"" + nickName + "\"}";
	}
}
